TODO: Fix API. It currently does not work with sync and async at the same way. It needs to specify both onSuccess and onError before being able to establish if it is possible to keep or not the memory.
See Implementation
TODO: Fix API. It currently does not work with sync and async at the same way. It needs to specify both onSuccess and onError before being able to establish if it is possible to keep or not the memory.